// const baseURL = "http://192.168.1.4:8010" //xjj
// const baseURL2 = "http://192.168.1.4:9000/hotel/" //文件拼接显示地址

// production
const baseURL = "https://server.xinguanjia.net";
const baseURL2 = "http://oss.xinguanjia.net/hotel/";
export const api = {
  ipimg: baseURL2, //文件ip
  login: baseURL + "/login-mobile", //账号登录  普通员工=00，企业老板=1，在店技师=2，店长=3，共享技师=4
  logout: baseURL + "/logout-mobile", //退出登录
  actionUrl: baseURL + "/system/oss/upload", //文件上传地址(单个)
  actionUrls: baseURL + "/system/oss/upload", //文件上传地址(多个)
  modifyPhone: baseURL + "/mobile/user/updatePhone", //修改用户手机号
  getVerificationCode: baseURL + "/mobile/user/code", //获取验证码
  getAddItemClassification: baseURL + "/artificer/sendLockPlate/getAddItemClassification", //查询开单商品
  customerOpenOrder: baseURL + "/customer/customerOpenOrder", //客户下单
  getCustomerOpenOrderItemByPay: baseURL + "/customer/order/wxpay/getCustomerOpenOrderItemByPay", //根据订单id获取买单项目信息
  getCashierMoneyAutoCountCoupons: baseURL + "/customer/order/wxpay/getCashierMoneyAutoCountCoupons", //获取客户买单收款金额
  customerWxPayOrder: baseURL + "/customer/order/wxpay/customerWxPayOrder", //客户微信支付买单
  customerMemberCardPayOrder: baseURL + "/customer/order/wxpay/customerMemberCardPayOrder", //客户会员卡买单
  customerOpenOrderList: baseURL + "/customer/customerOpenOrder/customer/list", //查询客户下单列表
  customerLogin: baseURL + "/customer/login/customerLogin", //客户登录
  customerMemberList: baseURL + "/member/card/customer/list", //客户查询会员卡信息列表
  cardSetting: baseURL + "/member/cardSettings/getById", //会员卡设置
  memberCardList: baseURL + "/member/card/customer/list", //客户查询会员卡信息列表
  phoneSendCode: baseURL + "/store/store/phone/send/code/", //手发送验证码
  bindPhone: baseURL + "/customer/login/customer/bind/phone", //客户绑定手机号
  memberCardInvest: baseURL + "/customer/order/wxpay/Invest/memberCard", //会员卡充值
};
